const express = require('express');

const app = express();

app.use(require('cors')()); //跨域模块
app.use(express.json()); // express数据库

require('./plugins/db')(app);
require('./routes/admin')(app);

app.listen(9091, () => {
    console.log(`http://localhost:9091`)

});